package com.situ.water_BE.service.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.situ.water_BE.mapper.BeFlowMapper;
import com.situ.water_BE.pojo.BeFlow;
import com.situ.water_BE.service.BeFlowService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Angel
 * @since 2020-12-01
 */
@Service
public class BeFlowServiceImpl extends ServiceImpl<BeFlowMapper, BeFlow> implements BeFlowService {
    @Autowired
    private BeFlowMapper dao;
    @Override
    public List<BeFlow> queryAll() {
        return dao.queryAll();
    }

    @Override
    public List<Map> countOrderUser() {
        return dao.countOrderUser();
    }
}
